package com.qianyu.project.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianyu.project.entity.ProviderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianyu.project.mapper.provider.ProviderInfoProvider;
import com.qianyu.project.mapper.provider.mfy.ProjectInfoProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * <p>
 * 供应商信息表 Mapper 接口
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Repository
public interface ProviderInfoMapper extends BaseMapper<ProviderInfo> {

    @SelectProvider(method = "WyhCreatedList",type = ProviderInfoProvider.class )
    IPage<ProviderInfo> WyhCreatedList(IPage<ProviderInfo> page,@Param("params") Map<String, String> params);
}
